library(tectr)
library(tidyverse)
library(haven)
library(magrittr)
library(glue)
devtools::load_all()
Loading vdem.tectr
Between the end of “Codebook_metaframe” and here, the metaframe may be changed by following the path to the specific json file. Now, the metaframe and the data will be created. We will begin with the basics of the metaframe, followed by the data, followed by further tweaking of the metaframe.
I will now read mf_revisable to get the data from the json files:
tmp_mf_vdem <- fx_read(mf_revisable)
tmp_mf_vdem
I read in the data, as well:
path <- system.file("inst", "extdata", "Country_Year_V-Dem_STATA_v8", "V-Dem-CY-v8.dta",package = "vdem.tectr")
tmp_vdem <- read_dta(path)
tmp_vdem